1. Start
  2. How to change the logo?
  3. How to change Menu items?
  4. How to change Fullscreen slider?
  5. How to add/manage Works?
  6. How to add/manage Gallery?
  7. How to use Shortcodes?
  8. How to change the color scheme?
  9. How to setup Contact Form?
  10. Source files included

Diamond HTML Photo Template


es.com

Thanks for purchasing this theme. If you have any questions that are beyond the scope of this help file, please feel free to submit your request to my support forum. Also you can find a lot of useful information right there. Thanks so much!

How to change Fullscreen Slider items?


Please open index.html file to change the code under the line #151:

gallery_set = [
       {type: "image", image: "img/gallery/slider/1.jpg", thmb: "img/gallery/slider/thumbs/1.jpg", alt: "Sarah Brown", title: "Sarah Brown", description: "Curabitur condimentum pharetra metus, sit amet facilisis ante laoreet rutrum.", titleColor: "#ffffff", descriptionColor: "#ffffff"},
       {type: "image", image: "img/gallery/slider/2.jpg", thmb: "img/gallery/slider/thumbs/2.jpg", alt: "", title: "", description: "", titleColor: "#000000", descriptionColor: "#000000"},
       {type: "vimeo", uniqid: "4675", src: "80033084", thmb: "img/gallery/slider/thumbs/3.jpg", alt: "", title: "", description: "", titleColor: "#000000", descriptionColor: "#000000"},
       {type: "image", image: "img/gallery/slider/4.jpg", thmb: "img/gallery/slider/thumbs/4.jpg", alt: "Jessica Black", title: "Jessica Black", description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit aliquam mi mauris.", titleColor: "#ffffff", descriptionColor: "#ffffff"},

How to add/manage Works?


The template contains the Works section.

There are different Portfolio listing layouts presented in the Diamond template: Grid Style, Grid with Margin, Grid with Title, Masonry, Masonry with Margin, Masonry with Title and Columns.
You can find the required one in template files (portfolio-grid1.html, portfolio-grid2.html, portfolio-grid3.html, portfolio-masonry.html, portfolio-masonry2.html, portfolio-masonry3.html, portfolio_1column.html, portfolio_2column.html, portfolio_3column and portfolio_4column.html ).
Below you can check an example, how to manage portfolio items in Masonry layout. Please open portfolio-masonry.html, under the line 173 find the following code:

   <div class="fullscreen_block hided">
       <div class="fs_blog_module fw_port_module sorting_block">
             <div class="blogpost_preview_fw fw-portPreview element nature">
                     <div class="fw-portPreview-wrapper mas_style1 pr40 pb40">
                         <a href="portfolio_simple_fullwidth_image_post.html">
                                 <img src="img/portfolio/masonry/1.jpg" alt="" class="fw_featured_image"
                                 width="540">
                                 <div class="fw-portPreview-fadder"></div>
                                 <div class="fw-portPreview-content">
                                       <h2 class="fw-portPreview-title">Lorem ipsum dolor sit amet</h2>
                                       <div class="block_likes">
                                       <div class="fw-portPreview-views">
                                             <i class="stand_icon icon-eye"></i> <span>2386</span>
                                       </div>
                                       <div class="fw-portPreview-likes">
                                             <i class="stand_icon icon-heart-o"></i>
                                           <span>82</span>
                                       </div>
                                       </div>
                                 </div>
                         </a>
                     </div>
             </div>

How to use Shortcodes?


In case you need to use one of the existing shortcodes on a page you should simply open shortcodes.html page and copy one of the presented shortcodes.

For example, you want to copy Partners in shortcodes.html. In this case please copy the code from the lines 841-891, past it on the page where you need.

         <div class="row">
                <div class="span12 module_number_25 module_cont pb30 module_partners" >
                <div class="bg_title"><h4 class="headInModule">Partners</h4></div>
                <div class="module_content sponsors_works items5" >
                        <ul>
                            <li>
                                <div class="item_wrapper">
                                <div class="item">
                                       <a href="http://www.gt3themes.com/" target="_blank"><img src="img/imgs/
                                       shortcodes/gt3themes1.png""alt="GT3Themes" title="GT3Themes" /></a>
                                   </div>
                                </div>
                            </li>

How to change the color of the theme?

You can find two files in css folder where the color styles are located: theme.css and custom.css

Contact Form Setup

In case you need to use the contacts page with the form where customer can send mail, simply open one of the files contacts-fullscreen.html or contacts.html to find the code:

        <form id="ajax-contact-form" action="#" >
                   <input type="text "name="name" value="" placeholder="Name *" />
                   <input type="text "name="email" value="" placeholder="Email *" />
                    <input type="text "name="subject" value="" placeholder="Subject" />
                    <textarea name="message"placeholder="Message *"> </textarea>
                    <input type="submit" value="Send message!">
       </form >

Please open mail.php file and find yourname@yourdomain.com on line 3, simply replace to your email address. All the requests will be sent to the adress you indicated. That's all ;)

Note, We use PHP mail() Function for the mail. To use the PHP mail() function, PHP requires an installed and working email system. The program to be used is defined by the configuration settings in the php.ini file. You need to be sure that your server supports the feature.

Source files included


Diamond comes with 42 HTML files. Some PSD files can include different pages inside, and can have hidden layers. Please note that the images are not included in the package.

All .js files are located in the /js/ folder.